package com.xu.provider;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author 徐老板
 * @date 2020/4/1   18:24
 */
@SpringBootApplication
@EnableDiscoveryClient //发布服务
@EntityScan("com.xu.entity.pojo")
//@MapperScan(value = "com.xu.provider.dao")
public class ProviderStarter {
    public static void main(String[] args) {
        SpringApplication.run(ProviderStarter.class, args);
    }
}
